deepspeed llava/train/train_mem.py \
    --deepspeed ./scripts/new_ds_config.json \
    --data_path /mnt/project/LLAVA/image2schema_data/sft_data/sharegpt4v_data/ \
    --eval_path /mnt/project/LLAVA/image2schema_data/dataset_img2ir_v2/dataset/converted/yuque_5w_zh/datasets/ir.json \
    --is_parquet True \
    --output_dir /mnt/project/LLAVA/visual_tuning_weights/qwen-vl-14b-lora-sft-1205/ \
    --image_folder /mnt/project/LLAVA/image2schema_data/dataset_img2ir_v2/dataset/converted/yuque_5w_zh/train/ \
    --image_aspect_ratio None \
    --lora_enable True \
    --lora_r 16 \
    --lora_alpha 64 \
    --model_name_or_path /mnt/user/laiyan/salesgpt/model/Qwen-14B-Chat-VL \
    --version qwen \
    --vision_tower /mnt/project/LLAVA/Qwen-VL-visual/ \
    --mm_projector_type cross_attn \
    --pretrain_mm_mlp_adapter /mnt/project/LLAVA/pretrain_weights/qwen-vl-14b-cross-attn-1126-multigpu/checkpoint-9000/mm_projector.bin \
    --mm_vision_select_layer -2 \
    --mm_use_im_start_end False \
    --use_im_start_end False \
    --mm_use_im_patch_token False \
    --bf16 True \
    --num_train_epochs 5 \
    --per_device_train_batch_size 4 \
    --per_device_eval_batch_size 2 \
    --gradient_accumulation_steps 1 \
    --evaluation_strategy "steps" \
    --eval_steps 1000 \
    --load_best_model_at_end True \
    --save_strategy "steps" \
    --save_steps 1000 \
    --save_total_limit 10 \
    --freeze_backbone True \
    --learning_rate 2e-5 \
    --weight_decay 0. \
    --warmup_ratio 0.03 \
    --lr_scheduler_type "cosine" \
    --logging_steps 1 \
    --tf32 True \
    --model_max_length 2048 \
    --gradient_checkpointing True \
    --lazy_preprocess True \
    --dataloader_num_workers 4 \
    --report_to none